package com.sixth.service;

import com.sixth.entity.Course;
import com.sixth.until.CommonResult;
import com.sixth.until.TableResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @program: self-tui-education
 * @description:
 * @author: 老魏
 * @create: 2022-04-15 17:10
 **/

public interface CourseService  {
    //课程分类分页
    TableResult findCourse( Integer pageCurrent,  Integer pageSize,  Course course);
    //更新上下架
    CommonResult changeStatus(String id );
//    CommonResult changeStatus(String id,String status);
    //提交修改表单
    CommonResult updateCourse(Course course);

    CommonResult selectMenu();
    //前台菜单
    TableResult fontFindCourse(Integer pageCurrent, Integer pageSize, Course course);

    TableResult getCoursByTeacherPhone(Integer pageCurrent, Integer pageSize, String teacherMobile, String checkStatus);
}
